import { RoleItem } from "./models";
import req, { ResponseData } from "/@/api/req";

export const Api = {
  roleList: "system/role/list",
  role: "system/role/",
};

export function getRoleList() {
  return req.commonGet<RoleItem[]>(Api.roleList, {}, { useGlobalLoading: false });
}
